package com.example.demolearn.myself;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Component
public class MyTest {

    @Bean
    public MyTest hello(){
        return new MyTest();
    }
}
